package examples.dubbo;

import com.alibaba.dubbo.common.utils.ConfigUtils;
import com.alibaba.dubbo.container.jetty.JettyContainer;

import java.io.IOException;

/**
 * @author Bill
 * @version 2013-05-28
 */
public class CommonTest {

    public static void main(String[] args) throws IOException {

        System.out.println(ConfigUtils.getPid());

        JettyContainer container = new JettyContainer();
        container.start();

        System.out.println("press any key to continue...");
        System.in.read();

        System.out.println("server will be stopped...");
        container.stop();
    }

}
